package com.outsource.framework.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_info_section")
@GenericGenerator(name="t_ins_identity",strategy="identity")
public class Tinfosection implements Serializable{

	private static final long serialVersionUID = 2463673423064855644L;

	@Id
	@Column(name="id",nullable=false,length=11)
	@GeneratedValue(generator="t_ins_identity")
	private Integer id;
	
	@Column(name="name")
	private String name;
	
	@Column(name="type")
	private String type;
	
	public Tinfosection(){}
	
	public Tinfosection(Integer id,String name,String type){
		this.id = id;
		this.name = name;
		this.type = type;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
